ENABLE_TESTING()

#Running the executable and test if it will run ok
ADD_TEST (Steam Steam)

#Checking generated files
SET (filename "pressure t = 0.txt")
SET (expectedMD5 "269a99cc1ae0c1e37674dd066997ebec")
add_test (Steam_pressure_t_=_0.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "pressure t = 1000.txt")
SET (expectedMD5 "0d6883560b3575ac21a3ca40d82015c9")
add_test (Steam_pressure_t_=_1000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "pressure t = 10000.txt")
SET (expectedMD5 "99089954803f2759e71727fc43544f7f")
add_test (Steam_pressure_t_=_10000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "pressure t = 11000.txt")
SET (expectedMD5 "6151d333c9281d184bfffe624cd4bbba")
add_test (Steam_pressure_t_=_11000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "pressure t = 2000.txt")
SET (expectedMD5 "73a2e2a3fb5fd2074f0be0d55a13e003")
add_test (Steam_pressure_t_=_2000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "pressure t = 3000.txt")
SET (expectedMD5 "a71a810f29852254bde26202cb157c66")
add_test (Steam_pressure_t_=_3000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "pressure t = 4000.txt")
SET (expectedMD5 "0f1665e61ee65cce4d54edce8ca88b12")
add_test (Steam_pressure_t_=_4000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "pressure t = 5000.txt")
SET (expectedMD5 "509a6ad763c444e4c985318f184ebf39")
add_test (Steam_pressure_t_=_5000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "pressure t = 6000.txt")
SET (expectedMD5 "491c067a26e0f7b3abf96e8e230d0039")
add_test (Steam_pressure_t_=_6000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "pressure t = 7000.txt")
SET (expectedMD5 "5d38e68860206c1750f8b7819ca4293c")
add_test (Steam_pressure_t_=_7000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "pressure t = 8000.txt")
SET (expectedMD5 "f0900677789be7ea495d91249f7e0d18")
add_test (Steam_pressure_t_=_8000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "pressure t = 9000.txt")
SET (expectedMD5 "8d043aedd36eb0ad387661955e283c1a")
add_test (Steam_pressure_t_=_9000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")

SET (filename "saturation t = 0.txt")
SET (expectedMD5 "417a545aebc0bd29ef6d21731b6e2857")
add_test (Steam_saturation_t_=_0.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "saturation t = 1000.txt")
SET (expectedMD5 "1ac9bf922ebd196f61b131964c7e9466")
add_test (Steam_saturation_t_=_1000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "saturation t = 10000.txt")
SET (expectedMD5 "a40738a90ec66bc6edcb2ae5b52521aa")
add_test (Steam_saturation_t_=_10000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "saturation t = 11000.txt")
SET (expectedMD5 "0773ab2b5c0a3f3cd3f061b84826f120")
add_test (Steam_saturation_t_=_11000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "saturation t = 2000.txt")
SET (expectedMD5 "0530c6e0ef0a6559ec4887411e651264")
add_test (Steam_saturation_t_=_2000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "saturation t = 3000.txt")
SET (expectedMD5 "4735b7de53058e04d928bf80da4b8478")
add_test (Steam_saturation_t_=_3000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "saturation t = 4000.txt")
SET (expectedMD5 "61edb7f8c08aa96b606892b008f18df1")
add_test (Steam_saturation_t_=_4000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "saturation t = 5000.txt")
SET (expectedMD5 "e5b010014fa076c2b2aab9211736f72e")
add_test (Steam_saturation_t_=_5000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "saturation t = 6000.txt")
SET (expectedMD5 "f6ce40d13858591811324006f3e48a3b")
add_test (Steam_saturation_t_=_6000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "saturation t = 7000.txt")
SET (expectedMD5 "df228a9250e28ba3a34197668f18f1cd")
add_test (Steam_saturation_t_=_7000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "saturation t = 8000.txt")
SET (expectedMD5 "5f63cf0f9edc61b442d901620f8d6b1c")
add_test (Steam_saturation_t_=_8000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "saturation t = 9000.txt")
SET (expectedMD5 "1955f8df57e8f623ab82fb3bb4aa9f64")
add_test (Steam_saturation_t_=_9000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")

SET (filename "temperature t = 0.txt")
SET (expectedMD5 "d0c79eae276d8e7952fd399fe8da6737")
add_test (Steam_temperature_t_=_0.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "temperature t = 1000.txt")
SET (expectedMD5 "5003b20c689a200635825bceb637c088")
add_test (Steam_temperature_t_=_1000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "temperature t = 10000.txt")
SET (expectedMD5 "0507c859df1a7dae228fa72f173392e8")
add_test (Steam_temperature_t_=_10000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "temperature t = 11000.txt")
SET (expectedMD5 "d3f6e796a4b779681c9fa6362e9631ca")
add_test (Steam_temperature_t_=_11000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "temperature t = 2000.txt")
SET (expectedMD5 "07ae427cf41767d20c87d373955bafda")
add_test (Steam_temperature_t_=_2000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "temperature t = 3000.txt")
SET (expectedMD5 "a2b1ccc11f3f544630e62c2c3c48c568")
add_test (Steam_temperature_t_=_3000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "temperature t = 4000.txt")
SET (expectedMD5 "453dfcf28197ac2e612ee706f821a2f7")
add_test (Steam_temperature_t_=_4000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "temperature t = 5000.txt")
SET (expectedMD5 "77c34b6907dde5528a2a91b1e99f81c6")
add_test (Steam_temperature_t_=_5000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "temperature t = 6000.txt")
SET (expectedMD5 "5db36041a2321fc4cd5adc4be9f5275a")
add_test (Steam_temperature_t_=_6000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "temperature t = 7000.txt")
SET (expectedMD5 "c26b7de9e1dada393784fba5bfc4d7ce")
add_test (Steam_temperature_t_=_7000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "temperature t = 8000.txt")
SET (expectedMD5 "a7897722d7893d6e957e0f8ff47bcbcc")
add_test (Steam_temperature_t_=_8000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")
SET (filename "temperature t = 9000.txt")
SET (expectedMD5 "32185696c935d79afb47fb10ccf5001d")
add_test (Steam_temperature_t_=_9000.txt "${CMAKE_COMMAND}" "-Dfilename:STRING=${filename}" "-DexpectedMD5:STRING=${expectedMD5}" "-P" "${CMAKE_SOURCE_DIR}/Tests/MD5FileTest.cmake")

#Adding dependency
#set_tests_properties (VisualMatrix_visualmatrix.dx PROPERTIES DEPENDS "VisualMatrix" REQUIRED_FILES "${filename}")
